home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 127 / PC Guia 127.iso / Software / Produtividade / OpenOffice.org 2.0.1 / openofficeorg1.cab / LDAP.xcu.sample < prev    next >
Extensible Markup Language  |  2005-09-10  |  3KB  |  79 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--***********************************************************************
  3.  *
  4.  *  OpenOffice.org - a multi-platform office productivity suite
  5.  *
  6.  *  $RCSfile: LDAP.xcu.sample,v $
  7.  *
  8.  *  $Revision: 1.3 $
  9.  *
  10.  *  last change: $Author: rt $ $Date: 2005/09/08 14:45:25 $
  11.  *
  12.  *  The Contents of this file are made available subject to
  13.  *  the terms of GNU Lesser General Public License Version 2.1.
  14.  *
  15.  *
  16.  *    GNU Lesser General Public License Version 2.1
  17.  *    =============================================
  18.  *    Copyright 2005 by Sun Microsystems, Inc.
  19.  *    901 San Antonio Road, Palo Alto, CA 94303, USA
  20.  *
  21.  *    This library is free software; you can redistribute it and/or
  22.  *    modify it under the terms of the GNU Lesser General Public
  23.  *    License version 2.1, as published by the Free Software Foundation.
  24.  *
  25.  *    This library is distributed in the hope that it will be useful,
  26.  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
  27.  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  28.  *    Lesser General Public License for more details.
  29.  *
  30.  *    You should have received a copy of the GNU Lesser General Public
  31.  *    License along with this library; if not, write to the Free Software
  32.  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  33.  *    MA  02111-1307  USA
  34.  *
  35.  ************************************************************************ -->
  36. <!-- This file is an example of an LDAP.xcu ldap configuration file.
  37.     
  38.      To use user data from LDAP in your installation, you need to provide a 
  39.      customized version of this file named 'LDAP.xcu'.
  40.  
  41.      To customize values in this file, please replace the data within
  42.      <value>...</value> elements with the values for your organization.
  43.  
  44.      If a certain setting is not necessary for your installation, you may remove the
  45.      entire 'prop' element, i.e. everything from '<prop oor:name="[SettingName]"' to 
  46.      the closing '</prop>'.
  47. -->
  48. <oor:component-data oor:name="LDAP" oor:package="org.openoffice" 
  49.         xmlns:oor="http://openoffice.org/2001/registry" 
  50.         xmlns:xs="http://www.w3.org/2001/XMLSchema" 
  51.         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  52.     <node oor:name="UserDirectory">
  53.           <node oor:name="ServerDefinition">
  54.                <prop oor:name="Server" oor:type="xs:string">
  55.                 <value>ldapserver.mycorp.com</value>
  56.                </prop>
  57.             <prop oor:name="BaseDN" oor:type="xs:string">
  58.                 <value>dc=mycorp,dc=com</value>
  59.                </prop>
  60.             <prop oor:name="Port" oor:type="xs:int">
  61.                 <value>389</value>
  62.                </prop>
  63.           </node>
  64.         <!-- The following settings should be omitted, if anonymous access is possible
  65.           <prop oor:name="SearchUser" oor:type="xs:string"><value>MyUserLogin</value></prop>
  66.         <prop oor:name="SearchPassword" oor:type="xs:string"><value>MyPassword</value></prop>
  67.         -->
  68.         <prop oor:name="UserObjectClass" oor:type="xs:string">
  69.             <value>inetorgperson</value>
  70.            </prop>
  71.         <prop oor:name="UserUniqueAttribute" oor:type="xs:string">
  72.             <value>uid</value>
  73.            </prop>
  74.         <prop oor:name="Mapping" oor:type="xs:string">
  75.             <value>oo-ldap</value>
  76.            </prop>
  77.     </node>
  78. </oor:component-data>
  79.